﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;

namespace FutureApp.Cms.Dto
{
    /// <summary>
    /// 文章实体Dto
    /// </summary>
    [AutoMapFrom(typeof(Article))]
    public class ArticleEntityDto : EntityDto<Guid>
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 链接
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 图片Id
        /// </summary>
        public Guid? PictureId { get; set; }
    }
}
